home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / modem / hqfax41.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1995-12-08  |  4KB  |  121 lines

  1. Echo off
  2. REM *********************************************************************/
  3. REM                                                                     */
  4. REM   SYSTEM       : HQ-FAX                                             */
  5. REM   COPYRIGHT    : (c) 1995 HTF CONSULTING                            */
  6. REM                                                                     */
  7. REM *********************************************************************/
  8. REM                                                                     */
  9. REM   BAT file name: Install.bat                                        */
  10. REM   DESCRIPTION  : This batch file drives the Installation prodecure  */
  11. REM                  for the HQ-FAX product                             */
  12. REM                  Install Batch file for One-Step High Quality FAX   */
  13. REM                                                                     */
  14. REM *********************************************************************/
  15. REM
  16. CLS
  17. Echo *************************************************************************
  18. Echo * Welcome to the HQ-FAX Installation Procedure                          *
  19. Echo * Copyright (C) 1995 HTF Consulting                                     *
  20. Echo *************************************************************************
  21. Echo *
  22. Echo To install HQ-FAX into the directory C:\HQFAX, just enter "Install"
  23. Echo To install HQ-FAX into any other directory,  enter "Install X:\dirname"
  24. Echo Where 'X' is the drive name ( C, D, E, etc.) & "dirname" is the directory.
  25. Echo Example(1): "INSTALL "
  26. Echo Example(2): "INSTALL C:\MYFAXDIR"
  27. Echo Example(3): "INSTALL D:\HQFAX"
  28. Echo *
  29. if "%1" == "" goto verify
  30.  
  31. Echo WARNING!!! If you have entered a directory name without a drive letter
  32. Echo or a drive letter without a directory name the installation will fail.
  33. Echo Compare your input to the examples above.
  34. Echo YOUR INPUT WAS:  "%0 %1"
  35. Echo *
  36.  
  37. :verify
  38. if     "%1" == "" Echo Will install HQ-FAX into the drive:directory  C:\HQFAX
  39. if not "%1" == "" Echo Will install HQ-FAX into the drive:directory  %1
  40. Echo *
  41. Echo Enter [CNTL_C] to abort, OR...
  42. Pause
  43.  
  44. if exist c:\hqfax.bat goto previnstl
  45. REM if     "%1" == "" if exist C:\HQFAX\*.* goto previnstl
  46. REM if not "%1" == "" if exist %1\*.* goto previnstl
  47. goto install
  48.  
  49. :previnstl
  50. CLS
  51. Echo ATTENTION! ATTENTION! ATENTION!
  52. Echo A previous installation of HQ-FAX is detected.  You must completely remove
  53. Echo HQ-FAX before re-installing. Contact HTF Consulting (510) 521-1689
  54. goto Abort
  55.  
  56. :install
  57. CLS
  58. Echo When the installation is complete the screen will clear and informative
  59. Echo messages will appear!
  60. Echo *
  61. Echo Copying files .....
  62.  
  63. if not "%1" == "" goto Userdir
  64.  
  65. mkdir c:\HQFAX
  66. copy *.* c:\HQFAX
  67. Setpath.exe HQFAX HQFAX
  68. erase c:\hqfax\setpath.exe
  69. erase c:\hqfax\install.bat
  70. erase c:\hqfax\hqfinfo.bat
  71. goto Quit
  72.  
  73. :Userdir
  74. mkdir %1
  75. copy *.* %1
  76. Setpath.exe HQFAX %1
  77. erase %1\setpath.exe
  78. erase %1\install.bat
  79. erase %1\hqfinfo.bat
  80.  
  81. :Quit
  82. CLS
  83. Call HQFinfo.bat
  84. Echo Print this screen if you like, and then ...
  85. pause
  86. CLS
  87. Echo **** ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ****
  88. Echo *
  89. if     "%1" == "" Echo HQ-FAX is installed into the directory  C:\HQFAX.
  90. if not "%1" == "" Echo HQ-FAX is installed into the directory  %1.
  91. Echo *
  92. Echo New users are encouraged to study and excercise the tutorial in the
  93. Echo First Time Use section of the Readme file "Readme.HQF".
  94. Echo When you contact us for technical support, we will be happy to assist you,
  95. Echo but we will want to know right away how far you got with the tutorial.
  96. Echo *
  97. Echo Registered users will need to enter their Registration Key into the
  98. Echo Registration key field in the HQ-FAX Conversion screen.
  99. Echo *
  100. Echo More information follows.
  101. Pause
  102. Echo You may execute HQ-FAX from anywhere if the root directory (C:\;) is in your
  103. Echo current PATH. Otherwise you may execute HQFAX from the root directory.
  104. Echo Your current PATH is:
  105. PATH
  106. PATH C:\;%path%
  107. Echo *
  108. Echo Your current PATH has been modified to include the root directory (C:\;).
  109. Echo Your autoexec.bat file has *NOT* been modified.
  110. Echo You may wish to update the PATH statement in your autoexec.bat file.
  111. Echo *
  112. Echo To start HQ-FAX, just enter "HQFAX" at the DOS prompt.
  113. Echo Monochrome screen users must enter "HQFAX /mono" .
  114. Echo Happy FAXing!
  115.  
  116. :Abort
  117. :quit
  118. C:
  119. chdir c:\
  120. Echo on
  121.